package br.com.pd.messaging;

import java.io.Serializable;
import java.util.List;

public interface MessageIF extends Serializable {

	public final static String SUBSCRIBE = "subscribe";
	public final static String COTATION = "cotation";
	public final static String SUPPLY = "supply";
	
	public String getId() ;
	
	public void setId(String id);
	
	public String getOperation();
	
	public String getFrom();
	
	public void setFrom(String from);
	
	public String getTo();
	

	public int getPortSender();
	
	public void setPortSender(int portSender);
	
	public int getPortReceiver();
	
	public void setPortReceiver(int portReceiver);
	
	public void setTo(String to);
	
	public List<Object> getParams();
	
	public Object getResponse();
	
	public void addResponse(Object o);
	
	
	

	
	
	

}
